package com.pureut.storage.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pureut.storage.domain.PurchaseReceiptDetail;
import com.pureut.storage.dto.PurchaseReceiptDetailDto;
import com.sale.common.mybatis.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/***
 * 采购入库明细mapper
 * Author:C
 * Date:2023/01/17 11:11
 * @DESC
 */
@Mapper
public interface PurchaseReceiptDetailMapper extends BaseMapperPlus<PurchaseReceiptDetailMapper, PurchaseReceiptDetail, PurchaseReceiptDetail> {

    /**
     * 采购打印明细列表
     * @param id
     */
    Page<PurchaseReceiptDetailDto> getDetailById(@Param("page") Page<PurchaseReceiptDetailDto> page, @Param("id") long id);
}
